package com.demo.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.demo.entity.base.Page;

public interface IBbsDao {

	// order=1,最新 2,最热 ,3精华 4,最后回复时间
	List<Map<String, String>> listBbs(@Param("type") int type,@Param("order")  int order,@Param("page") Page page);

	int getBbsCount(@Param("type") int type,@Param("order") int order);
	
	List<Map<String, String>> listBbsType();
}
